#define USERNAME_LENGTH 33
#define PASSWORD_LENGTH 33

struct authr {
  int nsip;
  char username[USERNAME_LENGTH];
  char password[PASSWORD_LENGTH]; 
};

struct policyParam {
  authr req;
  int param;
};

struct roleParam {
  authr req;
  int param;
};

struct result {
  int code;
  int result;
};

program AR_PROG {
  version AR_VER {
    result checkPolicy(policyParam) = 1;
    result checkRole(roleParam) = 2;
  } = 1;
} = 32700002;
